package org.dtrd.modules.evaluation.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: QR
 * @Date: 2021/9/27-15:31
 */
@ApiModel("10年心血管风险评估量表数据传输对象")
@Data
public class AngiocardiopathyDTO {

    @ApiModelProperty(value = "患者id", required = true)
    private Integer patientId;

    @ApiModelProperty(value = "性别: 1男2女", required = true)
    private Integer gender;

    @ApiModelProperty(value = "收缩压 mmHg", required = true)
    private Integer pressureSystolic;

    @ApiModelProperty(value = "总胆固醇 mmol/L", required = true)
    private Float tc;

    @ApiModelProperty(value = "生日", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth;

    @ApiModelProperty(value = "身高/cm", required = true)
    private Float height;

    @ApiModelProperty(value = "体重/kg", required = true)
    private Float weight;

    @ApiModelProperty(value = "是否吸烟: 1是2否", required = true)
    private Integer isSmoke;

    @ApiModelProperty(value = "是否糖尿病: 1是2否", required = true)
    private Integer isDiabetes;

    @ApiModelProperty(value = "输入内容")
    private List<Integer> input;
}
